package org.plex.searchfilter.imp;

import java.util.List;

import org.plex.searchfilter.StatusFilter;

public class StatusFilterImp implements StatusFilter
{
   private com.adobe.idp.taskmanager.dsc.client.query.StatusFilter statusFilter;
   
   public com.adobe.idp.taskmanager.dsc.client.query.StatusFilter getStatusFilter()
{
	return statusFilter;
}

public void setStatusFilter(
		com.adobe.idp.taskmanager.dsc.client.query.StatusFilter statusFilter)
{
	this.statusFilter = statusFilter;
}

public StatusFilterImp(com.adobe.idp.taskmanager.dsc.client.query.StatusFilter statusFilter)throws NullPointerException
   {
	   if(null==statusFilter)
	   {
		   throw new NullPointerException();
	   }
	   
	   this.statusFilter=statusFilter;
   }
	
	public void addStatus(short status)
	{
      this.statusFilter.addStatus(status);
	}

	public short get(int index)
	{
		// TODO Auto-generated method stub
		return this.statusFilter.get(index);
	}

	public List getFilter()
	{
		// TODO Auto-generated method stub
		return this.statusFilter.getFilter();
	}

	public boolean remove(short status)
	{
		// TODO Auto-generated method stub
		return this.statusFilter.remove(status);
	}

	public void setFilter(List filterList)
	{
		this.statusFilter.setFilter(filterList);

	}

	public int size()
	{
		// TODO Auto-generated method stub
		return this.statusFilter.size();
	}

}
